package com.randi.common.exception.user;


import com.randi.common.enums.ResultCode;

/**
 * 用户错误最大次数异常类
 *
 * @author randi
 */
public class UserPasswordRetryLimitExceedException extends UserException {
    private static final long serialVersionUID = 1L;

    public UserPasswordRetryLimitExceedException() {
        super(ResultCode.LOGIN_PASSWORD_ERROR_FAST);
    }

    public UserPasswordRetryLimitExceedException(int retryLimitCount, int lockTime) {
        super(ResultCode.LOGIN_PASSWORD_ERROR_FAST_FORMAT, new Object[]{retryLimitCount, lockTime});
    }
}